<link rel="stylesheet" th:href="@{/plugins/ztree/css/metroStyle/metroStyle.css}"/>
<div class="row-content am-cf">
    <div class="row">
        <!--<div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title am-fl">组织机构树</div>
                </div>
                <div class="widget-body widget-body-lg am-fr">
                    <div class="am-scrollable-horizontal">
                        <ul id="zTree" class="ztree"></ul>&lt;!&ndash; 组织机构树 &ndash;&gt;
                    </div>
                </div>
            </div>
        </div>-->
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title  am-cf">设备信息管理</div>
                </div>
                <div class="widget-body  am-fr">

                    <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                        <div class="am-form-group">
                            <div class="am-btn-toolbar">
                                <div class="am-btn-group am-btn-group-xs">
                                    <button type="button" class="am-btn am-btn-default am-btn-success"
                                            onclick="loadPage('deviceInformation/form')">
                                        <span class="am-icon-plus"></span> 新增设备信息
                                    </button>
                                    <button type="button" onclick="btnEdit()" class="am-btn am-btn-default am-btn-secondary" shiro:hasPermission="deviceInformation:edit">
                                        <span class="am-icon-save"></span> 编辑设备信息
                                    </button>
                                    <button type="button" onclick="btnEditState()" class="am-btn am-btn-default am-btn-warning" shiro:hasPermission="deviceInformation:editState">
                                        <span class="am-icon-save"></span> 编辑读取状态
                                    </button>
                                    <button type="button" onclick="btnAddDeviceImg()" class="am-btn am-btn-default am-btn-success" shiro:hasPermission="deviceInformation:addDeviceImg">
                                        <span class="am-icon-save"></span> 添加设备照片
                                    </button>
                                    <button type="button" onclick="btnAddUserImg()" class="am-btn am-btn-default am-btn-secondary" shiro:hasPermission="deviceInformation:addDeviceImg">
                                        <span class="am-icon-save"></span> 添加用户照片
                                    </button>
                                    <!--<button type="button" class="am-btn am-btn-default am-btn-danger"-->
                                    <!--onclick="delteAll()">-->
                                    <!--<span class="am-icon-trash-o"></span> 删除-->
                                    <!--</button>-->
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                        <select id="type"
                                data-am-selected="{btnWidth: '100%', btnSize: 'sm', btnStyle: 'am-btn am-btn-default'}">
                            <option></option>
                            <option value="0">挖掘机</option>
                            <option value="1">装载机</option>
                            <option value="2">矿用自卸车</option>
                            <option value="3">推土机</option>
                            <option value="4">压路机</option>
                            <option value="5">平地机</option>
                            <option value="6">混凝土机械</option>
                            <option value="7">桩工机械</option>
                            <option value="8">凿岩机械</option>
                            <option value="9">摊铺机</option>
                            <option value="10">俩头忙</option>
                            <option value="11">旋挖钻</option>
                            <option value="12">叉车</option>
                            <option value="13">塔式起重机</option>
                        </select>
                        <input type="text" class="am-form-field " placeholder="请输入品牌名称..." id="deviceBrand" value=""
                               th:value="${deviceBrand}"/>
                        <span class="am-input-group-btn">
									<button class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search"
                                            type="button" onclick="search()">
                                    </button>
                        </span>
                    </div>
                    <div class="am-u-sm-12">
                        <div class="widget-main padding-6 no-padding-left no-padding-right">
                            <div id="dtGridContainer" class="dlshouwen-grid-container"></div>
                            <div id="dtGridToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script th:src="@{plugins/ztree/jquery.ztree.all.min.js}"/>
<script type="text/javascript" th:src="@{/customer/deviceInformation/list.js}"/>



